<?php

class NComponentHelper {



static function getBaseUrl(){
	$componentName = NRequest::getVar("component");
	return NURI::base()."/components/$componentName";
}
static function getBaseDir(){
	$componentName = NRequest::getVar("component");
	return NPATH::base()."/components/$componentName";
}

}
?>